import { pubRequire } from '@utils/public'
const baseURL = '/dpusers'

//获取用户信息
export function userInfo(userId, callbBack, errBack) {
  return pubRequire('get', `${baseURL}/${userId}`, '', callbBack, errBack)
}
//搜索用户
export function searchUsers(obj, callbBack, errBack) {
  return pubRequire('get', `${baseURL}`, obj, callbBack, errBack)
}
